﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Max.PH5_2103A.Shopping.TEntityFrame.DTO
{
    /// <summary>
    /// 商品购物车的DTO
    /// </summary>
    public class ShoppingCarDto
    {
        /// <summary>
        /// 会员ID
        /// </summary>
        public Guid MemberId { get; set; }

        /// <summary>
        /// 商品SKU Id
        /// </summary>
        public Guid SkuId { get; set; }

        /// <summary>
        /// 商品名称
        /// </summary>
        public string? Name { get; set; }

        /// <summary>
        /// 商品价格（此次购买的价格，不是库存里的价格）
        /// </summary>
        public decimal Price { get; set; }

        /// <summary>
        /// 购买的数量（也不是库存数量）
        /// </summary>
        public int Number { get; set; }
        
        /// <summary>
        /// 商品图片
        /// </summary>
        public string? Image { get; set; }

        /// <summary>
        /// 店铺名称
        /// </summary>
        public string? StoreName { get; set; }

        public bool? IsChecked { get; set; } = false;
    }
}
